package pl.ydp.components.mathcell.mathrecognizer.engine.database.modelsets.math_basic.characters
{
	import pl.ydp.components.mathcell.mathrecognizer.characters.Character;
	import pl.ydp.components.mathcell.mathrecognizer.geometry.classification.PrimitiveType;
	import pl.ydp.components.mathcell.mathrecognizer.model.PrimitivesRelation;
	import pl.ydp.components.mathcell.mathrecognizer.model.RelationDescription;
	import pl.ydp.components.mathcell.mathrecognizer.model.RelationDescriptorType;
	import pl.ydp.components.mathcell.mathrecognizer.model.ShapeModel;
	import pl.ydp.components.mathcell.mathrecognizer.model.descriptors.SizeDescriptor;
	import pl.ydp.components.mathcell.mathrecognizer.model.presets.PrimitivePresets;
	
	public class MB_ch_brc
	{
		
		public static const MODELS_COUNT:Number = 1;
		
		//---------------------------------------------------
		
		public static function getModels():Array{
			
			var brcShapeModels:Array = new Array();
			
			brcShapeModels.push(getModel0());		
			
			return brcShapeModels;
		}
		
		//---------------------------------------------------
		
		private static function getModel0():ShapeModel{
			var brc:ShapeModel;
			var name:String = "MB_)_STD";
			var brc_prim:Array = new Array();
			var brc_ref:Array = new Array();
			var brc_rel:Array = new Array();
			
			brc_prim.push(PrimitiveType.CURVE_EAST);
			
			brc_ref.push(0,PrimitivePresets.ABS_FULL);
			
			brc_rel.push(new RelationDescription(0,1,new PrimitivesRelation(RelationDescriptorType.SIZE, SizeDescriptor.IS_HIGHER_THAN_QUARTER, 10)));
						
			brc = new ShapeModel(Character.BRACKET_CLOSE, brc_prim, brc_ref, brc_rel, new Array(), name);
			
			return brc;						
		}

	}
}